package model;

/**
 * 供应商实体类
 */
public class Supplier {
    private String supplierId;    // 供应商编号
    private String name;          // 名称
    private String address;       // 地址
    private String contactPerson; // 联系人
    private String phone;         // 电话
    private String password;      // 密码
    
    // 构造方法
    public Supplier() {}
    
    public Supplier(String supplierId, String name, String address, String contactPerson, String phone, String password) {
        this.supplierId = supplierId;
        this.name = name;
        this.address = address;
        this.contactPerson = contactPerson;
        this.phone = phone;
        this.password = password;
    }
    
    // getter和setter方法
    public String getSupplierId() {
        return supplierId;
    }
    
    public void setSupplierId(String supplierId) {
        this.supplierId = supplierId;
    }
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getAddress() {
        return address;
    }
    
    public void setAddress(String address) {
        this.address = address;
    }
    
    public String getContactPerson() {
        return contactPerson;
    }
    
    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }
    
    public String getPhone() {
        return phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }
    
    public String getPassword() {
        return password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }
}
    